package com.ewanghuiju.app.base.contract.my;

import com.ewanghuiju.app.base.BasePresenter;
import com.ewanghuiju.app.base.BaseView;
import com.ewanghuiju.app.model.bean.response.RedBeanDetailsResponBean;
import com.ewanghuiju.app.model.bean.response.RuleBean;
import com.ewanghuiju.app.model.bean.response.WaterDetailsResponBean;
import com.ewanghuiju.app.model.http.response.BaseResponse;

import java.util.List;

/**
 * @author sj  qq:751943509
 * @class describe
 * @time 2020/2/18
 */
public interface RedBeanHomeContract {

    interface View extends BaseView {

        void showContent(RedBeanDetailsResponBean bean);

        void showContentError();

        void increaseSuccess();

        void showWaterDetails(WaterDetailsResponBean bean);

        void ptiredeanProportion(BaseResponse bean);

        void showWaterContent(List<RedBeanDetailsResponBean> list);

        void refreshData();

        void showPtiguize(RuleBean bean);
    }

    interface Presenter extends BasePresenter<View> {

        void getData(int page, int type);

        //获取股数
        void ptiredeanProportion(String number);

        //转化股数
        void increase(String number, String stocks);

        //转增水滴
        void ptitransferIntegral(String number, String mobile);

        void getPtistocksInfo();

        //规则
        void getPtiguize(String type);
    }
}